Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add & to snippets that require their own line #44

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

ispringle
Copy link
Contributor

The & operator will put a snippet onto its own line if the snippet is not already on its own line. I've added this operator when it makes sense to the files/modes/langs I know. I did not touch languages I am not familiar enough with, for example I left Go untouched because I very rarely write Go and I am unfamiliar with that language. This will satisfy #18

ispringle and others added 3 commits September 16, 2023 11:57
This commit adds the newline (`&`) when it makes sense for a snippet to be
written on a newline. For example org src-blocks and headers need to be on their
own lines, so if a snippet is called in the middle of a line this will ensure
that those snippets are correctly written on the next line.
feat: added newline command to snippets that require newlines
@Crandel Crandel merged commit 3b2b209 into Crandel:main Sep 18, 2023
3 checks passed
alexforsale pushed a commit to alexforsale/tempel-collection that referenced this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants